package com.example.springcoudribbon;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.ribbon.RibbonClient;
import org.springframework.cloud.netflix.ribbon.RibbonClients;

@SpringBootApplication
@EnableEurekaClient
@RibbonClients
@RibbonClient(value = "eurekaclient")
public class SpringcoudribbonApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringcoudribbonApplication.class, args);
    }

}
